import { defineStore } from "pinia";

export default defineStore("useDictStore", {
  persist: {
    storage: sessionStorage,
  },

  state: () => {
    return {
      dictData: {},
    };
  },

  getters: {},

  actions: {
    async setDictData(dictData: any) {
      this.dictData = dictData;
    },
  },
});
